package com.jiai.cloud.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户会员表
 * </p>
 *
 * @author 佳爱科技
 * @since 2017-05-23
 */
@TableName("t_member")
public class TMember extends Model<TMember> {

    private static final long serialVersionUID = 1L;

    /**
     * 会员ID
     */
	private String memberId;
    /**
     * 用户昵称
     */
	private String nickName;
    /**
     * 头像
     */
	private String avatar;
	/**
	 * 手机号码
	 */
	private String phone;
	/**
	 * 性别
	 */
	private int sex;
	/**
	 * 微信OPENID
	 */
	private String openId;
	/**
	 * 用户ID
	 */
	private String userId;
	/**
	 * 注册时间
	 */
	private Date registerTime;
	/**
	 * 密码
	 */
	private String password;
    /**
     * email
     */
	private String email;

	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Date getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Override
	protected Serializable pkVal() {
		return null;
	}
}
